Skip to content

Add support for POSIX O_CLOFORK #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

ricardobranco777
Copy link

@ricardobranco777 ricardobranco777 commented Jun 21, 2025

This PR adds support for POSIX O_CLOFORK (close-on-fork) flag. If there's interest I can finish the TODO items.

This is also being done on:

This may be useful for Golang, Rust, Swift (and other languages):

Illumos' test suite: 663 PASSED, 0 failed or skipped.

TODO

  • Integrate the adapted CDDL-licensed oclo tests in the regress directory.
  • Adapt current tests that use O_CLOEXEC
  • Add FreeBSD dup_test?
  • Update manpages

POSIX References:

Illumos references:

@sthen
Copy link
Contributor

sthen commented Jun 22, 2025

This is a read only conversion from cvs so we can't do anything with github pull requests (mentioned in the repo header), so I'm closing this, but please continue the discussion you started on tech@ (for reference for other readers: https://marc.info/?t=175054718600002&r=1&w=2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants